nUserChoise = Shell.Popup("Script will connect to the ftp server and download a txt file to the MyDocuments folder.", 0, "CuteFTP Pro Connection Sample Script", 1)
if (nUserChoise == 2)
{
}
else if ( !TEConnection.RemoteExists("index.txt"))
{
//Alert the user that the file requested does not exist on the server.
Shell.Popup("Remote file does not exist")
}
else
{
//Initiate download
Shell.popup("File Transfer will be started.\nCheck your CuteFTP pro Transfer Engine to check the download status.")